package com.fortune.rainshine.system.dao;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.fortune.rainshinecommon.model.system.User;

public interface UserMapper extends BaseMapper<User> {

    User getByUsername(String username);

	List<User> getUsersByRole(Integer roleId);

	List<User> getUsersByMap(Map<String, Object> map);

	List<User> getMerchantsIdById(Map<String, Object> map);

	List<User> getDianYuanListByCode(Map<String, Object> map);

	User getByPhone(String phone);

	User getByNickname(String username);
}
